When we pray in dreams it is because we feel guilty of something that we do not want to reveal in a waking life. It can also mean that we are in a compromising situation and we do not know how to get out of it. Maybe we expect some miraculous intervention to take us out of trouble.